SeslAbsSeekBar
An abstract class extending SeslProgressBar that provides the foundation for SeslSeekBar, allowing users to set and customize a value within a specified range.
Main functionalities include:
- Range Control: Set minimum and maximum values using setMin, setMax, or via the
android:min
andandroid:max
attributes. - Progress Control: Set or get the current progress using setProgress, getProgress, or via the
android:progress
attribute. - Thumb Drawable: Customize the thumb using
android:thumb
,android:thumbOffset
,android:thumbTint
, andandroid:thumbTintMode
attributes, or programmatically via setThumb and related methods. - Track Appearance: Control track width and mode using
seslTrackMinWidth
,seslTrackMaxWidth
,seslSeekBarMode
attributes, and programmatically via setMode. - Tick Marks: Customize tick marks using
android:tickMark
,android:tickMarkTint
, andandroid:tickMarkTintMode
attributes. - Split Track: Enable or disable split track mode using
android:splitTrack
attribute or setSplitTrack. When this is enabled, it separates the active range of track from the inactive range. - Dual Color Mode: Enable dual color track and set the overlap point using setOverlapPointForDualColor.
- Seamless Dragging: Enable seamless thumb movement (higher scale) using setSeamless.
- Disabled Alpha: Control disabled alpha using
useDisabledAlpha
andandroid:disabledAlpha
attributes. - Thumb Radius: Set thumb radius using
seslThumbRadius
attribute.
Each mode (standard, warning, vertical, split, expand, expand vertical, level bar) provides a different visual appearance and behavior for the SeekBar, configurable via seslSeekBarMode
attribute (don't use seekBarMode) or setMode.
See also
Inheritors
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the amount of progress changed via the arrow keys.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Get the progress bar's current level of progress.
Link copied to clipboard
Returns whether the track should be split by the thumb.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the tint applied to the thumb drawable, if specified.
Link copied to clipboard
Returns the blending mode used to apply the tint to the thumb drawable, if specified.
Link copied to clipboard
Link copied to clipboard
Returns the tint applied to the tick mark drawable, if specified.
Link copied to clipboard
Returns the blending mode used to apply the tint to the tick mark drawable, if specified.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Called when the user changes the seekbar's progress by using a key event.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Called when the visual state of a progress indicator changes.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Sets the overlap colors for the seekbar track
Link copied to clipboard
Sets the amount of progress changed via the arrow keys.
Link copied to clipboard
Link copied to clipboard
Sets the point in the tract color where the overlap color will start
Link copied to clipboard
Sets the current progress to the specified value.
Link copied to clipboard
Define the drawable used to draw the progress bar in progress mode.
Link copied to clipboard
Link copied to clipboard
Applies a tint to the progress indicator, if one exists, or to the entire progress drawable otherwise.
Link copied to clipboard
Sets dragging of the thumb to be seamless or not.
Link copied to clipboard
Set the current secondary progress to the specified value.
Link copied to clipboard
Specifies whether the track should be split by the thumb.
Link copied to clipboard
Link copied to clipboard
Sets the thumb offset that allows the thumb to extend out of the range of the track.
Link copied to clipboard
Link copied to clipboard
Applies a tint to the thumb drawable.
Link copied to clipboard
Specifies the blending mode used to apply the tint specified by setThumbTintList} to the thumb drawable.
Link copied to clipboard
Sets the drawable displayed at each progress position, e.g.
Link copied to clipboard
Applies a tint to the tick mark drawable.
Link copied to clipboard
Specifies the blending mode used to apply the tint specified by setTickMarkTintList} to the tick mark drawable.
Link copied to clipboard
Link copied to clipboard